package com.hskn.hss.module.alarmHandleLog.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hskn.hss.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 报警处理记录对象 alarm_handle_log
 *
 * @author ccm
 * @date 2021-09-07
 */
@Data
@ApiModel(value = "报警处理记录对象-TO", description = "报警处理记录对象-TO")
public class AlarmHandleLogVO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主体id
     */
    @ApiModelProperty(value = "主体id", name = "subjectId", hidden=true)
    private String subjectId;

    /**
     * 主体名称
     */
    @ApiModelProperty(value = "主体名称", name = "subjectName")
    private String subjectName;

    /**
     * 主体图片
     */
    @ApiModelProperty(value = "主体图片", name = "subjectHeadPortrait")
    private String subjectHeadPortrait;

    /**
     * 所属机构名称
     */
    @ApiModelProperty(value = "所属机构名称", name = "depName")
    private String depName;

    /**
     * 报警内容
     */
    @ApiModelProperty(value = "报警内容", name = "content")
    private String content;

    /**
     * 报警时间
     */
    @ApiModelProperty(value = "报警时间", name = "violationTime" ,hidden = true)
    private Date violationTime;
    /**
     * 报警时间
     */
    @ApiModelProperty(value = "报警时间字符串", name = "violationTimeString")
    private String violationTimeString;
    /**
     * 处理方式（已处理）
     */
    @ApiModelProperty(value = "处理方式", name = "dealType")
    private String dealType;

    /**
     * 处理人uid
     */
    @ApiModelProperty(value = "处理人uid", name = "dealUid")
    private String dealUid;
    /**
     * 处理人名称
     */
    @ApiModelProperty(value = "处理人名称", name = "dealUName")
    private String dealUName;
    /**
     * 处理备注
     */
    @ApiModelProperty(value = "处理备注", name = "dealRemark")
    private String dealRemark;
    /**
     * 标记（emp：人员，car:车辆,fac:设施）
     */
    @ApiModelProperty(value = "标记", name = "violationSign" ,hidden = true)
    private String violationSign;
    /** 创建时间 */
    @ApiModelProperty(value = "创建时间", name = "createTime" ,hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 报警ID
     */
    @ApiModelProperty(value = "报警ID", name = "alarmId")
    private String alarmId;
}
